import request from '@/utils/request'
export default {
    // 分页条件查询分类列表
    uploadImg(data = {}) {
        return request({
            url: '/article/file/upload',
            method: 'POST',
            data
        })
    },
    deleteImg(imageUrl) {
        return request({
            url: `/article/file/delete`,
            method: 'delete',
            params: { 'fileUrl': imageUrl }
        })


    }
}